/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "数据采集配置",TableName = "Gather")]
    public partial class Gather:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int GatherId { get; set; }

       /// <summary>
       ///工艺产线
       /// </summary>
       [Display(Name ="工艺产线")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string ProcessLine { get; set; }

       /// <summary>
       ///server ip
       /// </summary>
       [Display(Name ="server ip")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Serverip { get; set; }

       /// <summary>
       ///server port
       /// </summary>
       [Display(Name ="server port")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Serverport { get; set; }

       /// <summary>
       ///local port
       /// </summary>
       [Display(Name ="local port")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Localport { get; set; }

       /// <summary>
       ///采集间隔
       /// </summary>
       [Display(Name ="采集间隔")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? AcquisitionInterval { get; set; }

       /// <summary>
       ///通讯类型
       /// </summary>
       [Display(Name ="通讯类型")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Communication { get; set; }

       /// <summary>
       ///是否启用串口
       /// </summary>
       [Display(Name ="是否启用串口")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Serial { get; set; }

       /// <summary>
       ///波特率
       /// </summary>
       [Display(Name ="波特率")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string BaudRate { get; set; }

       /// <summary>
       ///前端看板url
       /// </summary>
       [Display(Name ="前端看板url")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Front { get; set; }

       /// <summary>
       ///rabbitmq url
       /// </summary>
       [Display(Name ="rabbitmq url")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Rabbitmqurl { get; set; }

       
    }
}